cmake_minimum_required(VERSION 2.8.3)
project(zed_obj_det_sub_tutorial)

# if CMAKE_BUILD_TYPE is not specified, take 'Release' as default
IF(NOT CMAKE_BUILD_TYPE)
    SET(CMAKE_BUILD_TYPE Release)
ENDIF(NOT CMAKE_BUILD_TYPE)

## Find catkin and any catkin packages
find_package(catkin REQUIRED COMPONENTS roscpp zed_wrapper)

## Declare a catkin package
catkin_package()

include_directories(include ${catkin_INCLUDE_DIRS})

## Build 
add_executable(zed_obj_det_sub src/zed_obj_det_sub_tutorial.cpp)
target_link_libraries(zed_obj_det_sub ${catkin_LIBRARIES})
add_dependencies(zed_obj_det_sub ${zed_wrapper_EXPORTED_TARGETS})
add_dependencies(zed_obj_det_sub ${catkin_EXPORTED_TARGETS})
